<?php

require_once ROOT_PATH.'/Abstracts/front.php';

class Action extends front_abs
{
    function index()
    {
		
	   
	    $info = _M('cpzs')->getList();
	    $array = array();
	    $arr = array();
	    foreach($info as $val){

		    $array[$val['id']] = $val['标题'];
		    $arr[$val['id']] = $val['内容'];
			
		    
	    }

	    Smarty3::instance()->assign('array', $array);
	    Smarty3::instance()->assign('arr', $arr);
	    Smarty3::instance()->display('art.html');

    }


}

?>
